package pro.shushi.pamirs.demo.api.model;

import pro.shushi.pamirs.demo.api.enumeration.CertTypeEnum;
import pro.shushi.pamirs.demo.api.enumeration.SexEnum;
import pro.shushi.pamirs.meta.annotation.Field;
import pro.shushi.pamirs.meta.annotation.Model;
import pro.shushi.pamirs.meta.base.IdModel;


@Model.model(OrderPassenger.MODEL_MODEL)
@Model(displayName = "订单乘客", labelFields = "name")
public class OrderPassenger extends IdModel {

    private static final long serialVersionUID = -5104390780952631397L;

    public static final String MODEL_MODEL = "demo.OrderPassenger";

    @Field.Integer
    @Field(displayName = "订单详情id", invisible = true, index = true)
    private Long orderDetailId;

    @Field.String
    @Field(displayName = "名称")
    private String name;


    @Field.String
    @Field(displayName = "国籍")
    private String country;


    @Field.String
    @Field(displayName = "城市")
    private String city;


    @Field.Enum
    @Field(displayName = "性别")
    private SexEnum sex;


    @Field.Enum
    @Field(displayName = "证件类型")
    private CertTypeEnum certType;


    @Field.String
    @Field(displayName = "证件号")
    private String certNo;

}
